import asyncio


async def coroutine_example(name):
    print('开始任务：', name)
    await asyncio.sleep(1)
    print('执行完毕：', name)
    return '返回值：' + name


loop = asyncio.get_event_loop()
tasks = [loop.create_task(coroutine_example('task_' + str(i))) for i in range(3)]

wait_coro = asyncio.wait(tasks)
loop.run_until_complete(wait_coro)

for task in tasks:
    print(task.result())
loop.close()
